package spindles.gwt.shared;

public class SpindleDTO extends DTO {
	
	private String absoluteStartTime;
	
	private String absoluteEndTime;
	
	private String relativeStartTime;
	
	private String relativeEndTime;
	
	private String spindleDuration;
	
	private String criterion;
	
	private String isiDuration;	
	
	
	public SpindleDTO(){}

	public String[] toRecord() {
		return new String[]{absoluteStartTime, relativeStartTime, 
				absoluteEndTime, relativeEndTime, spindleDuration, criterion, isiDuration};
	}

	public String getAbsoluteEndTime() {
		return absoluteEndTime;
	}

	public void setAbsoluteEndTime(String absoluteEndTime) {
		this.absoluteEndTime = absoluteEndTime;
	}

	public String getAbsoluteStartTime() {
		return absoluteStartTime;
	}

	public void setAbsoluteStartTime(String absoluteStartTime) {
		this.absoluteStartTime = absoluteStartTime;
	}

	public String getCriterion() {
		return criterion;
	}

	public void setCriterion(String criterion) {
		this.criterion = criterion;
	}

	public String getIsiDuration() {
		return isiDuration;
	}

	public void setIsiDuration(String isiDuration) {
		this.isiDuration = isiDuration;
	}

	public String getRelativeEndTime() {
		return relativeEndTime;
	}

	public void setRelativeEndTime(String relativeEndTime) {
		this.relativeEndTime = relativeEndTime;
	}

	public String getRelativeStartTime() {
		return relativeStartTime;
	}

	public void setRelativeStartTime(String relativeStartTime) {
		this.relativeStartTime = relativeStartTime;
	}

	public String getSpindleDuration() {
		return spindleDuration;
	}

	public void setSpindleDuration(String spindleDuration) {
		this.spindleDuration = spindleDuration;
	}

}
